package com.zhigongtech.tender.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.zhigongtech.extension.entry.DataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * SYS_ROLE 角色
 * </p>
 *
 * @author Alan
 * @since 2019-05-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_role")
@ApiModel(value="Role对象", description="SYS_ROLE 角色")
public class Role extends DataEntity<Role> {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "name 角色名称")
    private String name;

    @ApiModelProperty(value = "enname 角色名称")
    private String enname;

    @ApiModelProperty(value = "data scope 数据范围")
    private String dataScope;

    @ApiModelProperty(value = "is can use 是否用")
    private String useable;

    @ApiModelProperty(value = "create user 创建人")
    private String createBy;

    @ApiModelProperty(value = "create time 创建时间")
    private Date createDate;

    @ApiModelProperty(value = "update user 更新人")
    private String updateBy;

    @ApiModelProperty(value = "update time 更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "remarks 备注")
    private String remarks;

    @ApiModelProperty(value = "delete flag 删除标记")
    private String delFlag;


}
